import { useUnit } from 'effector-react';

import { $hubInfo } from 'store';

const PortStatusMenuItem = () => {
  const hubInfo = useUnit($hubInfo);

  return !hubInfo ? null : <div>{hubInfo.path}</div>;
};

export default PortStatusMenuItem;
